package com.linkgie.galaxyframework.shell.utils;

import com.linkgie.galaxyframework.shell.UserAbortedException;

public class InputTerminateException extends UserAbortedException{


    private Acception acception;

    /**
     * @return the acception
     */
    public Acception getAcception() {
        return acception;
    }
    
    public InputTerminateException(Acception acception) {
        super(acception.getReason());
        this.acception = acception;
    }

    
    public InputTerminateException(Acception acception, String message) {
        super(message);
        this.acception = acception;
    }

    public InputTerminateException(Acception acception, Throwable cause) {
        super(cause.getMessage(), cause);
        this.acception = acception;
    }

    public InputTerminateException(Acception acception, String message, Throwable cause) {
        super(message, cause);
        this.acception = acception;
    }

}
